-- configure the litee.nvim library 
local status_ok, lib = pcall(require, "litee.lib")
if not status_ok then
  vim.notify("litee_lib not found!")
  return
end


lib.setup({
  tree = {
    icon_set = nil,
  },
  panel = {
    orientation = "right",
    panel_size  = 30
  },
})

local status_ok, calltree = pcall(require, "litee.calltree")
if not status_ok then
  vim.notify("litee_calltree not found!")
  return
end
-- configure litee-calltree.nvim
-- commands: LTOpenToCalltree to open calltree
calltree.setup({
   -- NOTE: the plugin is in-progressing
  on_open = "pannel", -- pannel | popout
  hide_cursor = false,
  keymaps = {
    expand = "o",
    collapse = "h",
    jump = "<CR>",
    jump_split = "s",
    jump_vsplit = "v",
    hover = "i",
    details = "d",
    close = "q",
    help = "?",
  },
})

local status_ok, symboltree = pcall(require, "litee.symboltree")
if not status_ok then
  vim.notify("litee_symboltree not found!")
  return
end

symboltree.setup {
  on_open = "pannel",
  hide_cursor = false,
  keymaps = {
    expand = "o",
    jump = "<CR>",
    jump_split = "s",
    jump_vsplit = "v",
    close = "q",
    help = "?",
  },
}